DMS\Includes\Utils\Helper B

Total Complexity 80
Dependencies 9
Dependents 27
Total lines 487
Lines of code 205
Logical lines of code 107
Comment lines 221
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
is_mapped_cpt()
S
57 6 17
get_class_shortname()
S
56 5 18
path_starts_with()
S
75 5 3
log()
S
59 4 14
redirect_to()
S
68 4 7
active_theme_is_divi()
S
76 4 3
get_all_parents()
S
61 3 13
check_if_bedrock()
S
66 3 7
generate_url()
S
71 3 5
is_posts_page()
S
73 3 4
str_replace_once()
S
67 3 7
is_page_on_front()
S
73 3 4
get_top_level_parent()
S
68 3 7
get_base_path()
S
73 2 4
get_path_last_dir()
S
71 2 5
ends_with()
S
68 2 7
get_shop_page_association()
S
78 2 3
get_link_scheme()
S
73 2 4
sync_fs_license()
S
71 2 5
is_valid_host()
S
71 2 6
get_last_path_segment_from_uri()
S
68 2 6
get_wp_error()
S
68 2 6
get_custom_taxonomies()
S
63 1 11
get_custom_post_types()
S
77 1 3
is_dms_error()
S
79 1 3
is_static_page_homepage_active()
S
79 1 3
is_latest_posts_homepage_active()
S
79 1 3
is_posts_page_active()
S
79 1 3
prepare_class_name()
S
72 1 5
get_host_plus_path()
S
74 1 4
is_sub_directory_install()
S
79 1 3
get_base_scheme()
S
78 1 3
get_base_host()
S
78 1 3
get_scheme()
S
78 1 3
get_home_host()
S
79 1 3